package com.housekeeping.service;

import com.housekeeping.model.HousekeepingService;
import com.housekeeping.model.Category;
import java.util.List;

/**
 * 家政服务服务接口
 */
public interface HousekeepingServiceService {
    
    HousekeepingService getServiceById(Integer serviceId);
    
    List<HousekeepingService> getAllServices();
    
    List<HousekeepingService> getServicesByCategory(Integer categoryId);
    
    List<HousekeepingService> getAvailableServices();
    
    List<HousekeepingService> searchServices(String keyword);
    
    boolean addService(HousekeepingService service);
    
    boolean updateService(HousekeepingService service);
    
    boolean deleteService(Integer serviceId);
    
    boolean updateServiceStatus(Integer serviceId, Integer status);
    
    boolean publishService(Integer serviceId);
    
    boolean unpublishService(Integer serviceId);
    
    long getServiceCount();
    
    List<Category> getAllCategories();
    
    List<Category> getActiveCategories();
    
    boolean addCategory(Category category);
    
    boolean updateCategory(Category category);
    
    boolean deleteCategory(Integer categoryId);
} 